<%@page import="com.baoyanghui.common.Constants"%>
<%@page import="com.baoyanghui.config.Configs"%>
<%@page import="com.baoyanghui.common.Utils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<% 
	if (Utils.empty((String)request.getSession().getAttribute(Configs.SESSION_USER_ID))
			|| (Constants.USER_TYPE_CUSTOMER == (Integer)request.getSession().getAttribute(Configs.SESSION_USER_TYPE))) {
		response.getWriter().print("<script type='text/javascript'>\n");
		response.getWriter().print("window.location.href='" + request.getContextPath() + "/index.jsp';\n");
		response.getWriter().print("</script>\n");
		response.getWriter().flush();
		return;
	}

	String currentDate = Utils.getDateY_M_D(System.currentTimeMillis()); 
%>
<script type="text/javascript" src="../js/maintain_customer.js"></script>
<img class="pointer fade_effect" src="<%= request.getContextPath() %>/image/icon_add.png" alt="" 
	style="margin-left: 35px;" onclick="show_add_customer_tab();"/>
<img class="pointer fade_effect" src="<%= request.getContextPath() %>/image/icon_search.png" alt=""
	onclick="show_search_customer_tab();" />
				
<div style="margin-left: 15px;">
	<div>
		<b style="font-size: 14pt; float: left;" id="maintain_statics"><%= currentDate %>总计养护车辆0辆</b>
		<input id="datePicker" class="Wdate" type="text" style="float: right; margin-right: 20px;"
			onclick="WdatePicker()" onchange="changeDate();" value="<%= currentDate %>"/>
		<div style="clear: both;"></div>
	</div>
	<div style="margin-top: 10px;">
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_name.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_license.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_model.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_mobile.png" alt="" />
		<div style="clear: both;"></div>
	</div>
	<div id="div_today_maintain">
	</div>
</div>
<div style="margin-left: 15px; margin-top: 20px;">
	<b id="wait_statics" style="font-size: 14pt;">排队等待中0辆</b>
	<div>
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_name.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_license.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_model.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_mobile.png" alt="" />
		<div style="clear: both;"></div>
	</div>
	<div id="div_wait_maintain">
	</div>
</div>